package com.gulimall.ware.service;

import com.gulimall.ware.domain.entity.WareSku;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 商品库存 服务类
 * </p>
 *
 * @author 坤哥
 * @since 2025-08-27
 */
public interface IWareSkuService extends IService<WareSku> {
    /**
     * 查询商品库存
     */
    Integer getProductStock(Long skuId);
    /**
     * 扣减库存
     */
    void reduceWare(Long skuId, Integer count);
}
